home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / winter_challenge.swf / scripts / frame_81 / DoAction.as
Text File  |  2011-08-19  |  2KB  |  59 lines

  1. function startLevelLoop()
  2. {
  3.    _root.level1_ice.start(0,9999);
  4. }
  5. _quality = "HIGH";
  6. _root.ATVclip.curveSpeed = temp_curveSpeed;
  7. _root.ATVclip.maxspeed = temp_maxspeed;
  8. _root.ATVclip.reverseSpeed = temp_reverseSpeed;
  9. _root.ATVclip.breakpower = temp_breakpower;
  10. _root.ATVclip.breakverzoegerung = temp_breakverzoegerung;
  11. _root.ATVclip.acceleration = temp_acceleration;
  12. redTire_cheat = 0;
  13. userScore_const = score;
  14. track_1_grafik.gotoAndStop(1);
  15. track_1.gotoAndStop(1);
  16. eisplatteShaddow._visible = 1;
  17. _root.ATV_keyBlock = 1;
  18. _root.gameInProgress = 0;
  19. _root.hitpoints = 100;
  20. _root.ATV_statsBar.resetBar();
  21. wallClip.wallActive_flag = 1;
  22. _root.rabbitKills = 0;
  23. _root.courseDisplay = 3;
  24. _root.course = "course3";
  25. lap = 1;
  26. lapCheatflag_A = 0;
  27. lapCheatflag_B = 0;
  28. lapCheatflag_C = 0;
  29. _root.temp_global_landmark_count = _root.global_landmark_count;
  30. _root.landmark_count = 0;
  31. activeLandmark = _root.landmark_1;
  32. i = 1;
  33. while(i <= 11)
  34. {
  35.    thisClip = eval("_root.landmark_" + i);
  36.    if(thisClip == activeLandmark)
  37.    {
  38.       activeLandmark.gotoAndPlay(1);
  39.    }
  40.    else
  41.    {
  42.       thisClip.gotoAndStop(1);
  43.    }
  44.    thisClip.swapDepths(760 + i);
  45.    i++;
  46. }
  47. _root.clock.gotoAndStop(1);
  48. _root.clock.clockInlay.min = "0";
  49. _root.clock.clockInlay.sec1 = "3";
  50. _root.clock.clockInlay.sec2 = "0";
  51. stopAllSounds();
  52. myStopAllSouds();
  53. updateAfterEvent();
  54. _root.global_ENTRANCE.start(0,0);
  55. _root.engineSound.myAction = "brk";
  56. help.swapDepths(880);
  57. help.gotoAndStop(2);
  58. stop();
  59.